#!/bin/bash
# $1 image-tag
# $2 test-port
docker stop meblog_test
docker rm meblog_test

docker run -v /docker/makeblog/config:/melog-app/config  -p $2:3003 --restart unless-stopped --network mysql_default --name meblog_test -d $1

tail -n 9 /docker/makeblog/test_ok_images.txt > /docker/makeblog/test_ok_images.txt;
echo "$1" >> /docker/makeblog/test_ok_images.txt; 
